home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #1 / Amiga Plus CD - 2000 - No. 1.iso / Tools / Dev / PMM / Developer / autostarts_src / ReqToolsBase.c < prev   
Encoding:
C/C++ Source or Header  |  1999-12-03  |  306 b   |  19 lines

  1. #include <stdio.h>
  2. #include <exec/libraries.h>
  3. #include <proto/exec.h>
  4.  
  5. struct Library *ReqToolsBase = NULL;
  6.  
  7. void _INIT_5_ReqToolsBase()
  8. {
  9.   if (!(ReqToolsBase = OpenLibrary("reqtools.library",0))) {
  10.     exit(20);
  11.   }
  12. }
  13.  
  14. void _EXIT_5_ReqToolsBase()
  15. {
  16.   if (ReqToolsBase)
  17.     CloseLibrary(ReqToolsBase);
  18. }
  19.